package edu.lsnu.equipment_management_system.service;

import edu.lsnu.equipment_management_system.exception.InsertIntoEquipmentRepairTableException;
import edu.lsnu.equipment_management_system.exception.InsertIntoEquipmentUseRecordTableException;
import edu.lsnu.equipment_management_system.pojo.po.entity.*;

/**
 * @author mzy
 * @Description 数据库表的操作：插入
 * @date 2018/11/26
 */
public interface TableOperationService {
    /** 插入到YHB */
    boolean insertIntoUserTable(UserTablePo userTablePo);
    /** 插入到JBXX_BSBF表 */
    boolean insertIntoEquipmentDamageTable(EquipmentDamageTablePo equipmentDamageTablePo);
    /** 插入到JBXX_SB表 */
    boolean insertIntoEquipmentInformationTable(EquipmentInformationTablePo equipmentInformationTablePo);
    /** 插入到JBXX_WHWX */
    boolean insertIntoEquipmentRepairTable(EquipmentRepairTablePo equipmentRepairTablePo) throws InsertIntoEquipmentRepairTableException;
    /** 插入到JBXX_DRDC */
    boolean insertIntoEquipmentTransferTable(EquipmentTransferTablePo EquipmentTransferTablePo);
    /** 插入到JBXX_SBSY */
    boolean insertIntoEquipmentUseRecordTable(EquipmentUseRecordTablePo equipmentUseRecordTablePo) throws InsertIntoEquipmentUseRecordTableException;
}
